package com.mp.approvalreq.servlet.operate;


import com.mp.approvalreq.servlet.AbstractServlet;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 撤回结束请假
 */

@Deprecated
@WebServlet("/repealIAmBack")
public class RepealIAmBack extends AbstractServlet {

	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		try {
			remindUpdate(resp);
		} catch (Throwable e) {
			onThrowable(req, resp, e);
		}
	}

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		doPost(req, resp);
	}
}
